#ifndef RRCROSSINFO_H
#define RRCROSSINFO_H

#include "rrmath.h"
#include "rrmaterial.h"

class RRCrossInfo
{
private:
    bool hit;
    RRVec3 cross;
    RRVec3 norm;
    RRVec3 tosrc;
    RRMaterial material;
    RRVec4 color;
    RRRange range;

public:
    RRCrossInfo();
    bool rrGetHit();
    RRVec3 rrGetCross();
    RRVec3 rrGetNorm();
    RRVec3 rrGetToSrc();
    RRMaterial rrGetMaterial();
    RRVec4 rrGetColor();
    double rrGetDistance();
    RRRange rrGetRange();
    void rrSetHit(bool arg);
    void rrSetCross(RRVec3 arg);
    void rrSetNorm(RRVec3 arg);
    void rrSetToSrc(RRVec3 arg);
    void rrSetMaterial(RRMaterial arg);
    void rrSetColor(RRVec4 arg);
    void rrSetRange(RRRange arg);
    void rrSetCrossInfo(RRCrossInfo *arg);
};

#endif // RRCROSSINFO_H
